package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.CityDictionary;
import com.ruoyi.system.domain.vo.DictRelevanceVo;

/**
 * 字典关联城市Service接口
 *
 * @author MagicCube
 * @date 2023-06-09
 */
public interface ICityDictionaryService
{
    /**
     * 查询字典关联城市
     *
     * @param id 字典关联城市主键
     * @return 字典关联城市
     */
    public CityDictionary selectCityDictionaryById(Long id);
    public DictRelevanceVo selectDictCityInfo(DictRelevanceVo dictRelevanceVo);;

    /**
     * 查询字典关联城市列表
     *
     * @param cityDictionary 字典关联城市
     * @return 字典关联城市集合
     */
    public List<CityDictionary> selectCityDictionaryList(CityDictionary cityDictionary);
    public List<DictRelevanceVo> selectCityDictRelevanceList(DictRelevanceVo dictRelevanceVo);

    /**
     * 新增字典关联城市
     *
     * @param cityDictionary 字典关联城市
     * @return 结果
     */
    public int insertCityDictionary(CityDictionary cityDictionary);

    /**
     * 修改字典关联城市
     *
     * @param cityDictionary 字典关联城市
     * @return 结果
     */
    public int updateCityDictionary(CityDictionary cityDictionary);

    /**
     * 批量删除字典关联城市
     *
     * @param ids 需要删除的字典关联城市主键集合
     * @return 结果
     */
    public int deleteCityDictionaryByIds(Long[] ids);

    /**
     * 删除字典关联城市信息
     *
     * @param id 字典关联城市主键
     * @return 结果
     */
    public int deleteCityDictionaryById(Long id);

    int insertCityDict(DictRelevanceVo dictRelevanceVo);

    int updateCityDict(DictRelevanceVo dictRelevanceVo);
}
